Max waypoint number as a per-target define (#395)
[betaflight.git] / docs / Board - Naze32.md
blob5ea0825ca3f2ce97a04720ca5d5463bd8efc50f3
1 # Board - Naze32
3 The Naze32 target supports all Naze hardware revisions.  Revision 4 and 5 are used and
4 frequently flown by the primary maintainer.  Previous Naze hardware revisions may have issues,
5 if found please report via the [github issue tracker](https://github.com/cleanflight/cleanflight/issues).
7 ## Serial Ports
9 | Value | Identifier   | RX         | TX                 | Notes                                                                                       |
10 | ----- | ------------ | ---------- | ------------------ | ------------------------------------------------------------------------------------------- |
11 | 1     | USART1       | RX  / PA10 | TX  / PA9 / TELEM  | TELEM output is always inverted (for FrSky). Internally connected to USB port via CP2102 IC |
12 | 2     | USART2       | RC4 / PA3  | RC3 / PA2          |                                                                                             |
13 | 4     | SOFTSERIAL1  | RC5 / PA6  | RC6 / PA7          |                                                                                             |
14 | 5     | SOFTSERIAL2  | RC7 / PB0  | RC8 / PB1          |                                                                                             |
16 * You cannot use USART1/TX/TELEM pins at the same time.
17 * You may encounter flashing problems if you have something connected to the RX/TX pins.  Try disconnecting RX/TX.
19 ## Pinouts
21 The 10 pin RC I/O connector has the following pinouts when used in RX_PPM/RX_SERIAL mode.
23 | Pin | Identifier | Function                    | Notes                            |
24 | --- | ---------- | --------------------------- | -------------------------------- |
25 | 1   |            | Ground                      |                                  |
26 | 2   | Circle     | +5V                         |                                  |
27 | 3   | 1          | RX_PPM                      | Enable `feature RX_PPM`          |
28 | 4   | 2          | RSSI_ADC                    | Enable `feature RSSI_ADC`.  Connect to the output of a PWM-RSSI conditioner, 0v-3.3v input |
29 | 5   | 3          | USART2 TX                   |                                  |
30 | 6   | 4          | USART2 RX                   |                                  |
31 | 7   | 5          | LED_STRIP                   | Enable `feature LED_STRIP`       |
32 | 8   | 6          | unused                      |                                  |
33 | 9   | 7          | Sonar Trigger               |                                  |
34 | 10  | 8          | Sonar Echo / CURRENT        | Enable `feature CURRENT_METER`  Connect to the output of a current sensor, 0v-3.3v input |
36 When SOFTSERIAL is enabled, LED_STRIP and CURRENT_METER are unavailable, but two SoftSerial ports are made available to use instead.
38 | Pin | Identifier | Function       | Notes                            |
39 | --- | ---------- | -------------- | -------------------------------- |
40 | 7   | 5          | SOFTSERIAL1 RX | Enable `feature SOFTSERIAL`      |
41 | 8   | 6          | SOFTSERIAL1 TX |                                  |
42 | 9   | 7          | SOFTSERIAL2 RX |                                  |
43 | 10  | 8          | SOFTSERIAL2 TX |                                  |
45 ## Recovery
47 ### Board
48 + Short the two pads labelled 'Boot' **taking extra care not to touch the 5V pad**
49 + Apply power to the board
50 + Remove the short on the board
52 ### INAV configurator
53 + Select the correct hardware and the desired release of the INAV firmware
54 + Put a check in the "No reboot sequence"
55 + Flash firmware
57 ```
58 /-------------------\
59 |O                 O|
60 | []5V              |
61 | [][]Boot          |
62 |                   |
63 |                   |
64 |                   |
65 |                   |
66 |O                 O|
67 \-------[USB]-------/
68 ```